<%@ page language="java" contentType="text/html" pageEncoding="utf-8"%>
<%@taglib prefix="s" uri="/struts-tags"%>
<s:include value="admin_header.jsp" />
<s:actionmessage cssStyle="color:red"/>
<table border="1" align="center" width="80%">
			<tr>
				<th>
					用户名
				</th>
				<th>
					Email
				</th>
				<th>
					电话
				</th>
				<th>
					用户类型
				</th>
				<th colspan="2">
					审核操作
				</th>
			</tr>
			<s:iterator value="user_list" id="user">
				<tr>
					<td>
						<s:property value="username" />
					</td>
					<td>
						<s:property value="email" />
					</td>
					<td>
						<s:property value="phoneNum" />
					</td>
					<td>
						<s:if test="#type=0">
						企业用户
						</s:if>
						<s:if test="#type=1">
						普通用户
						</s:if>
					</td>
					<td>
						<s:form action="CheckUser" theme="simple">
							<input type="hidden" name="id" value="${user.id}"/>
							<s:hidden name="state" value="pass" />
							<s:submit name="submit" value="通过" />
						</s:form>
					</td>
					<td>
						<s:form action="CheckUser" theme="simple">
							<input type="hidden" name="id" value="${user.id}"/>
							<s:hidden name="state" value="unpass"/>
							<s:submit name="submit" value="未通过" />
						</s:form>
					</td>
				</tr>
			</s:iterator>
		</table>
		</DIV>
</DIV>
	</body>
</html>